package com.project.controller;

import com.project.service.UpdateStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/status")
public class UpdateStatusController {
	private UpdateStatusService updateStatusService;
	public UpdateStatusService getUpdateStatusService() {
		return updateStatusService;
	}
	@Autowired
	public void setUpdateStatusService(UpdateStatusService updateStatusService) {
		this.updateStatusService = updateStatusService;
	}
	@RequestMapping("/updatestatus1")
	public String updatestatus1(String tid){return this.updateStatusService.updatestatus1(tid);}
	@RequestMapping("/updatestatus2")
	public String updatestatus2(String tid){return this.updateStatusService.updatestatus2(tid);}
	@RequestMapping("/updatestatus3")
	public String updatestatus3(String tid){return this.updateStatusService.updatestatus3(tid);}
	
	
}
